package com.syh.jn.scm.domain.supplier.event.finance;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.finance.BusinessAccountRecord;

public class BusinessAccountRecordEvent extends DomainEvent<BusinessAccountRecord> {

  public static final String  BUSINESS_ACCOUNT_RECORD_CREATED = "businessAccountRecordCreated";
  public static BusinessAccountRecordEvent buildBusinessAccountRecoredCreatedEvent(Object[] values) {
    BusinessAccountRecordEvent businessAccountRecordEvent = new BusinessAccountRecordEvent();
    businessAccountRecordEvent.eventName = BUSINESS_ACCOUNT_RECORD_CREATED;
    businessAccountRecordEvent.values = values;
    return businessAccountRecordEvent;
  }

  public static final String  BUSINESS_ACCOUNT_RECORD_CHECK_DISCOUNT_BEFORE = "businessAccountRecordCheckDiscountBefore";
  public static BusinessAccountRecordEvent buildBusinessAccountRecordCheckDiscountBeforeEvent(Object[] values) {
    BusinessAccountRecordEvent businessAccountRecordEvent = new BusinessAccountRecordEvent();
    businessAccountRecordEvent.eventName = BUSINESS_ACCOUNT_RECORD_CHECK_DISCOUNT_BEFORE;
    businessAccountRecordEvent.values = values;
    return businessAccountRecordEvent;
  }

  public static final String  BUSINESS_ACCOUNT_RECORD_CHECK_DISCOUNT_AFTER = "businessAccountRecordCheckDiscountAfter";
  public static BusinessAccountRecordEvent buildBusinessAccountRecordCheckDiscountAfterEvent(Object[] values) {
    BusinessAccountRecordEvent businessAccountRecordEvent = new BusinessAccountRecordEvent();
    businessAccountRecordEvent.eventName = BUSINESS_ACCOUNT_RECORD_CHECK_DISCOUNT_AFTER;
    businessAccountRecordEvent.values = values;
    return businessAccountRecordEvent;
  }
}
